package cn.wechat.service.user;

import java.util.List;

import javax.annotation.Resource;
import javax.annotation.Resources;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import cn.wechat.dao.user.UserMapper;
import cn.wechat.pojo.user.Goods;
import cn.wechat.pojo.user.User;



@Service("userService")
public class UserServiceImpl implements UserService{
	
	@Resource(name="userMapper")
	public UserMapper userMapper;
	
	@Override
	public User login(String userCode, String userPassword) {
		// TODO Auto-generated method stub
		User user=userMapper.login(userCode, userPassword);
		return user;
	}

	

	



}
